//
//  FZVoiceRecordView.h
//  EnglishTalk
//
//  Created by wangwei on 16/2/24.
//  Copyright © 2016年 Feizhu Tech. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, LCChatRecorderMetersAlertViewState) {
    LCChatRecorderMetersAlertViewStateRecording = 0,
    LCChatRecorderMetersAlertViewStateCancelTips,
    LCChatRecorderMetersAlertViewStateWarning,
};

@interface FZVoiceRecordView : UIView

@property (nonatomic, strong) UIView *contentView;
@property (nonatomic, strong) UILabel *durationLabel;
@property (nonatomic, strong) UIImageView *audioMeterBackgroundView;
@property (nonatomic, strong) UIImageView *audioMeterView;
@property (nonatomic, strong) UIImageView *warningView;
@property (nonatomic, strong) UILabel *tipsLabel;

@property (nonatomic) LCChatRecorderMetersAlertViewState state;
@property (nonatomic) float audioMeterProgress;
@property (nonatomic) int duration;

- (void)show;
- (void)dismiss;
- (BOOL)isShowing;

@end
